#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File    :   convert_doccano_jsonl_to_csv.py    
@Contact :   fengfeng.qiu@amh-group.com

@Modify Time      @Author    
------------      -------    
2022/8/29 14:47   qiufengfeng      
'''
import pandas as pd

input_file = r'D:\工作相关内容\公司项目\司机货主意向价\验证集\all.jsonl'
output_csv = r'D:\工作相关内容\公司项目\司机货主意向价\验证集\all.csv'

df = pd.read_json(input_file,orient='records',lines=True)
df.to_csv(output_csv,index=False)